/*
 * Copyright 2016-2021 the original author.All rights reserved.
 * Kingstar(honeysoft@126.com)
 * The license,see the LICENSE file.
 */

package top.z.orm.handle.osql.core;

/**
 * @author Kingstar
 * @since 1.9
 */
public class CheckField {

    public static boolean isNotValid(String fieldName) {
        if (fieldName == null || fieldName.contains(" ") || fieldName.contains("--") || fieldName.contains("#")
                || fieldName.contains("|") || fieldName.contains(";")) {
            return true;
        }
        return false;
    }

}
